let MonoSingle = require('MonoSingle').default;
var e = require;
var t = module;
var n = exports;
var o,
    i =
        (this && this.__extends) ||
        ((o = function (e, t) {
            return (o =
                Object.setPrototypeOf ||
                ({__proto__: []} instanceof Array &&
                    function (e, t) {
                        e.__proto__ = t;
                    }) ||
                function (e, t) {
                    for (var n in (0, t)) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
                })(e, t);
        }),
        function (e, t) {
            function n() {
                this.constructor = e;
            }
            o(e, t), (e.prototype = null === t ? Object.create(t) : ((n.prototype = t.prototype), new n()));
        }),
    r =
        (this && this.__decorate) ||
        function (e, t, n, o) {
            var i,
                r = arguments.length,
                a = r < 3 ? t : null === o ? (o = Object.getOwnPropertyDescriptor(t, n)) : o;
            if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) a = Reflect.decorate(e, t, n, o);
            else
                for (var s = e.length - 1; 0 <= s; s--)
                    (i = e[s]) && (a = (r < 3 ? i(a) : 3 < r ? i(t, n, a) : i(t, n)) || a);
            return 3 < r && a && Object.defineProperty(t, n, a), a;
        },
    a =
        (this && this.__awaiter) ||
        function (e, a, s, c) {
            return new (s = s || Promise)(function (n, t) {
                function o(e) {
                    try {
                        r(c.next(e));
                    } catch (e) {
                        t(e);
                    }
                }
                function i(e) {
                    try {
                        r(c.throw(e));
                    } catch (e) {
                        t(e);
                    }
                }
                function r(e) {
                    var t;
                    e.done
                        ? n(e.value)
                        : ((t = e.value) instanceof s
                              ? t
                              : new s(function (e) {
                                    e(t);
                                })
                          ).then(o, i);
                }
                r((c = c.apply(e, a || [])).next());
            });
        },
    s =
        (this && this.__generator) ||
        function (n, o) {
            var i,
                r,
                a,
                s = {
                    label: 0,
                    sent: function () {
                        if (1 & a[0]) throw a[1];
                        return a[1];
                    },
                    trys: [],
                    ops: []
                },
                e = {next: t(0), throw: t(1), return: t(2)};
            return (
                "function" == typeof Symbol &&
                    (e[Symbol.iterator] = function () {
                        return this;
                    }),
                e
            );
            function t(t) {
                return function (e) {
                    return (function (t) {
                        if (i) throw new TypeError("Generator is already executing.");
                        for (; s; )
                            try {
                                if (
                                    ((i = 1),
                                    r &&
                                        (a =
                                            2 & t[0]
                                                ? r.return
                                                : t[0]
                                                ? r.throw || ((a = r.return) && a.call(r), 0)
                                                : r.next) &&
                                        !(a = a.call(r, t[1])).done)
                                )
                                    return a;
                                switch (((r = 0), (t = a ? [2 & t[0], a.value] : t)[0])) {
                                    case 0:
                                    case 1:
                                        a = t;
                                        break;
                                    case 4:
                                        return s.label++, {value: t[1], done: !1};
                                    case 5:
                                        s.label++, (r = t[1]), (t = [0]);
                                        continue;
                                    case 7:
                                        (t = s.ops.pop()), s.trys.pop();
                                        continue;
                                    default:
                                        if (
                                            !(a = 0 < (a = s.trys).length && a[a.length - 1]) &&
                                            (6 === t[0] || 2 === t[0])
                                        ) {
                                            s = 0;
                                            continue;
                                        }
                                        if (3 === t[0] && (!a || (t[1] > a[0] && t[1] < a[3]))) {
                                            s.label = t[1];
                                            break;
                                        }
                                        if (6 === t[0] && s.label < a[1]) {
                                            (s.label = a[1]), (a = t);
                                            break;
                                        }
                                        if (a && s.label < a[2]) {
                                            (s.label = a[2]), s.ops.push(t);
                                            break;
                                        }
                                        a[2] && s.ops.pop(), s.trys.pop();
                                        continue;
                                }
                                t = o.call(n, s);
                            } catch (e) {
                                (t = [6, e]), (r = 0);
                            } finally {
                                i = a = 0;
                            }
                        if (5 & t[0]) throw t[1];
                        return {value: t[0] ? t[1] : void 0, done: !0};
                    })([t, e]);
                };
            }
        };
Object.defineProperty(n, "__esModule", {value: !0});
var c,
    l = e("index"),
    h = e("player-info"),
    u = e("coin"),
    p = e("events"),
    d = e("player-coin"),
    f = e("Excelkeyvalue"),
    m = e("sound"),
    y = e("vibrate"),
    g = e("guide-manager"),
    v = e("player-theme"),
    t = cc._decorator,
    e = t.ccclass,
    t = t.property,
    e =
        ((c = cc.Component),
        i(b, c),
        (b.prototype.start = function () {
            var n = this;
				this.node.on("click", this.onTouchStart, this),
                this.unlockingBg.getComponent(cc.Animation).on(cc.Animation.EventType.FINISHED, function (e, t) {
                    "unlock2" == t.name &&
                        ((n.unlockingBg.active = !1),
                        n.setLock(!1),
                        p.operEvent.emit({action: p.default.cellNext, data: {cellIdx: n.curIdx}}));
                }),
                this.mergeBg.getComponent(cc.Animation).on(cc.Animation.EventType.FINISHED, function (e, t) {
                    "unlocklight" == t.name && (n.mergeBg.active = !1);
                }),
                this.adsLockBg.getComponent(cc.Animation).on(cc.Animation.EventType.FINISHED, function (e, t) {
                    "Adunlock" == t.name
                        ? ((n.lock.active = !1),
                          (n.adsLockBg.active = !1),
                          (n.isAdsLocking = !1),
                          (n.isLock = !1),
                          p.operEvent.emit({action: p.default.adsCanUnlock, data: {cellIdx: n.curIdx}}))
                        : "Adlock" == t.name && (n.lock.active = !1);
                });
        }),
        (b.prototype.setIsNoTouch = function (e) {
            this.isNoTouch = e;
        }),
        (b.prototype.getCellData = function () {
            return this.cellData;
        }),
        (b.prototype.onTouchStart = function () {
			cc.error(this.isLock);
            var e;
            g.GuideManager.ins.getIsGuide() ||
                this.isNoTouch ||
                (this.isUnlocking
                    ? this.hideUnlocking()
                    : this.isAdsLocking ||
                      (this.isLock
                          ? ((e = h.playerInfo.getTargetNumbers()),
                            d.playerCoin.getCoinMaxNumber() + 1 < e[e.length - 1] &&
                                !this.isAdsCell() &&
                                (this.lockAnim.play(),
                                p.operEvent.emit({action: p.default.targetAnim, data: {delayTime: 0}})))
                          : (p.operEvent.emit({
                                action: p.default.cellTouch,
                                data: {cellIdx: this.curIdx, isChoose: this.isChoose}
                            }),
                            0 === h.playerInfo.getStartTime() &&
                                ((e = new Date()),
                                h.playerInfo.setStartTime(e.getTime()),
                                l.platform.trackEvent("starLevel", {
                                    level: h.playerInfo.getLevel(),
                                    skin_id: v.playerTheme.getCurTheme() + 1
                                })))));
        }),
        (b.prototype.getIsLock = function () {
            return this.isLock;
        }),
        (b.prototype.getIsAdsLocking = function () {
            return this.isAdsLocking;
        }),
        (b.prototype.onAdsLock = function () {}),
        (b.prototype.onAdsLockCallBack = function () {
            p.operEvent.emit({action: p.default.cellAdsLock, data: {cellIdx: this.curIdx}});
            var e = h.playerInfo.getUseADAreaCount();
            h.playerInfo.setUseADAreaCount(e + 1);
        }),
        (b.prototype.setLock = function (e) {
			if (this.curIdx>=9)
				e = !1;
            (this.lock.active = e),
                (this.adsLockBg.active = !1),
                (this.unlockingBg.active = !1),
                !e && this.isLock && this.unlockItem(),
                (this.isLock = e) && ((e = h.playerInfo.getUnlockCell()), (this.lockBg.active = this.curIdx >= e));
        }),
        (b.prototype.showUnlocking = function () {
            var n = this;
            if (this.isAdsCell()) return !1;
            if (!this.isLock) return !1;
            var o = !1,
                i = h.playerInfo.getUnlockCell(),
                r = f.default.GetLine(1).defaultCells;
            return (
                h.playerInfo.getCurTargetNumber(function (e, t) {
                    i <= r + t - 1 &&
                        i === n.curIdx &&
                        ((n.isUnlocking = !0),
                        (n.isAdsLocking = !1),
                        (n.lock.active = !1),
                        (n.adsLockBg.active = !1),
                        (n.unlockingBg.active = !0),
                        n.unlockingBg.getComponent(cc.Animation).play("unlock1"),
                        m.sound.play(m.Sound.UNLOCKAREA),
                        (o = !0));
                }),
                o
            );
        }),
        (b.prototype.hideUnlocking = function () {
            (this.isUnlocking = !1),
                this.unlockingBg.getComponent(cc.Animation).play("unlock2"),
                (this.mergeBg.active = !0),
                this.mergeBg.getComponent(cc.Animation).play("unlocklight"),
                h.playerInfo.setUnlockCell(this.curIdx + 1),
                m.sound.play(m.Sound.GETAREA),
                y.vibrate.play(y.VibrateNewType.SHORT),
                l.platform.trackEvent("getArea", {number: this.curIdx + 1}),
                p.operEvent.emit({action: p.default.checkShuffle, data: {}});
        }),
        (b.prototype.unlockItem = function () {
            (this.isAdsLocking = !1), (this.lock.active = !1), (this.adsLockBg.active = !1);
        }),
        (b.prototype.showAdsUnlock = function (e) {
			return;
            void 0 === e && (e = !1),
                (this.isAdsLocking = !0),
                (this.adsLockBg.active = !0),
                (this.unlockingBg.active = !1),
                (this.isLock = !0),
                e && ((this.adsLockBg.opacity = 0), this.adsLockBg.getComponent(cc.Animation).play("Adlock"));
        }),
        (b.prototype.unlockAds = function () {
            (this.lock.active = !1),
                (this.mergeBg.active = !0),
                this.mergeBg.getComponent(cc.Animation).play("unlocklight"),
                this.adsLockBg.getComponent(cc.Animation).play("Adunlock"),
                m.sound.play(m.Sound.GETAREA),
                y.vibrate.play(y.VibrateNewType.SHORT),
                l.platform.trackEvent("getADArea", {bool: !0, type: "main"});
        }),
        (b.prototype.isAdsCell = function () {
			return false;
			cc.error(this.adLockCount);
            return this.curIdx + 1 >= this.adLockCount;
        }),
        (b.prototype.setLockOpacity = function (e) {
            this.isAdsCell() || (this.lockAnim.node.opacity = e ? 105 : 255);
        }),
        (b.prototype.init = function (e, t, n, o) {
            var i = !1;
            this.curIdx = e;
            var r = h.playerInfo.getUnlockCell(),
                a = r <= e;
            if (
                (t && this.cleanCell(),
                this.setLock(a),
                this.isAdsCell()
                    ? ((this.lock.getComponent(cc.Sprite).spriteFrame = this.adsLockSpriteFrame),
                      h.playerInfo.getAdsCellLock(e) || this.setLock(!1))
                    : a && ((i = this.showUnlocking()), this.setLockOpacity(r < e)),
                (this.mergeBg.active = !1),
                this.isLock)
            )
                return o && o(), i;
            var s = h.playerInfo.getCellsByIdx(this.curIdx + 1);
            if (!s || s.length <= 0) return console.log("no cell data:", s), o && o(), i;
            for (var c = s.length, l = 0; l < c; ++l) {
                var u,
                    p = s[l];
                "number" == typeof p
                    ? (((u = new h.saveCoinData()).num = p), this.cellData.push(u))
                    : this.cellData.push(p);
            }
            return (
                (this.firstNum = this.cellData[0].num),
                this.loadCoins(this.cellData, n, o),
                this.cellData.length != this.coinItems.length &&
                    console.error("init....", this.curIdx, this.cellData.length, this.coinItems.length),
                i
            );
        }),
        (b.prototype.loadCoins = function (e, t, n) {
            var o = d.playerCoin.getCoinMaxCount(),
                i = Math.min(e.length, o);
            e.length > o && console.log("coins data count over max error,data:", e, " maxCount:", o);
            for (var r = 0, a = 0; a < i; ++a) {
                var s = (0.5 * o + a - i) * this.coinYDistance,
                    c = cc.instantiate(t);
                (c.parent = this.coinParent), c.setPosition(0, s);
                var l = c.getComponent(u.default),
                    s = new d.coinData();
                (s.cellIdx = this.curIdx),
                    (s.num = e[a].num),
                    (s.isUnknown = e[a].isUn),
                    l.init(s),
                    this.coinItems.push(l),
                    c.setSiblingIndex(0),
                    s.isUnknown ? (0 === r && this.showQuestionMark(l), r++) : (r = 0);
            }
            this.checkCoinsTouch(), n && n();
        }),
        (b.prototype.checkCoinsTouch = function () {
            if (
                (this.cellData.length != this.coinItems.length &&
                    console.error("checkCoinsTouch....", this.curIdx, this.cellData.length, this.coinItems.length),
                !this.isLock)
            ) {
                if (((this.coinTouchCount = 0), null == this.firstNum))
                    return (
                        (this.mergeBg.active = this.isCanMerge()),
                        void (this.mergeBg.active && this.mergeBg.getComponent(cc.Animation).play("Merge"))
                    );
                for (
                    var e = this.cellData.length, t = 0;
                    t < e && this.cellData[t].num === this.firstNum && !this.cellData[t].isUn;
                    ++t
                ) {
                    var n = this.coinItems[t];
                    n
                        ? (n.setTouch(!0), this.coinTouchCount++)
                        : console.error("items idx error:", t, this.coinItems.length, this.curIdx);
                }
                (this.mergeBg.active = this.isCanMerge()),
                    this.mergeBg.active && this.mergeBg.getComponent(cc.Animation).play("Merge");
            }
        }),
        (b.prototype.isCanMerge = function () {
            var e = d.playerCoin.getCoinMaxCount();
            return this.coinTouchCount === e;
        }),
        (b.prototype.setChoose = function (t, n, o) {
            this.isChoose = t;
            for (var i = this.coinItems.length, r = this, e = 0; e < i; ++e)
                !(function (e) {
                    r.coinItems[e].setChoose(
                        t,
                        function () {
                            e === i - 1 && n && n();
                        },
                        o
                    );
                })(e);
        }),
        (b.prototype.getFirstNum = function () {
            return this.firstNum;
        }),
        (b.prototype.getCanAddCount = function () {
            return d.playerCoin.getCoinMaxCount() - this.coinItems.length;
        }),
        (b.prototype.getCoinItemCount = function () {
            return this.coinItems.length;
        }),
        (b.prototype.getMoveCoin = function (e, t) {
            void 0 === t && (t = !1);
            var n = Math.min(this.coinTouchCount, e),
                e = this.coinItems.splice(0, n);
            return (
                e && 0 < e.length && (this.cellData.splice(0, n), this.refreshItem()),
                t && this.showUnknown(),
                this.cellData.length != this.coinItems.length &&
                    console.error("getMoveCoin....", this.curIdx, this.cellData.length, this.coinItems.length),
                e
            );
        }),
        (b.prototype.showUnknown = function () {
            var n = this,
                e = this.cellData[0];
            if (e && e.isUn)
                for (var o, i, r = e.num, a = this, t = 0; t < 3; t++)
                    !(function (e) {
                        var t = a.cellData[e];
                        (o = a.coinItems[e]),
                            t.num == r &&
                                t.isUn &&
                                o &&
                                ((t.isUn = null),
                                (i = new cc.Vec2(o.node.x, o.node.y)),
                                o.scaleAndMoveTo(0, i, a.mergeScaleTime1, 0, function () {
                                    1 === e &&
                                        n.loadLight(function () {
                                            var e = (8 - n.cellData.length) * n.coinYDistance;
                                            n.light.node.setPosition(0, e), n.light.resetSystem();
                                        }),
                                        n.coinItems[e].setIsUnknown(!1),
                                        n.coinItems[e].show(n.mergeScaleTime2, n.mergeScaleTime3, 0, function () {
                                            2 === e && n.refreshItem();
                                        });
                                }),
                                a.questionMarkMap.has(o) &&
                                    ((a.questionMarkMap.get(o).active = !1), a.questionMarkMap.delete(o)));
                    })(t);
        }),
        (b.prototype.getMoveCoinAll = function (e) {
            var t = this.coinItems.splice(0, e);
            return (
                t && 0 < t.length && (this.cellData.splice(0, e), this.refreshItem()),
                this.cellData.length != this.coinItems.length &&
                    console.error("getMoveCoinAll....", this.cellData.length, this.coinItems.length),
                t
            );
        }),
        (b.prototype.refreshItem = function () {
            h.playerInfo.setCellsByIdx(this.curIdx + 1, this.cellData),
                0 < this.cellData.length ? (this.firstNum = this.cellData[0].num) : (this.firstNum = null),
                this.checkCoinsTouch();
        }),
        (b.prototype.getPosition = function (e, t, n) {
            var o = d.playerCoin.getCoinMaxCount(),
                i = this.coinParent.convertToWorldSpaceAR(cc.Vec2.ZERO),
                i = e.convertToNodeSpaceAR(i),
                n = (0.5 * o + t - (this.coinItems.length + n)) * this.coinYDistance;
            return (i.y += n), i;
        }),
        (b.prototype.addCoins = function (e) {
            for (
                var t = d.playerCoin.getCoinMaxCount(), n = this.coinItems.length + e.length, o = [], i = 0;
                i < e.length;
                i++
            ) {
                var r = e[i];
                o.push(r.getData());
            }
            for (i = e.length - 1; 0 <= i; --i) {
                var a = (0.5 * t + i - n) * this.coinYDistance;
                (r = e[i]).node.removeFromParent(),
                    (r.node.parent = this.coinParent),
                    r.node.setPosition(0, a),
                    r.reseat(this.curIdx, !0, !1);
            }
            (this.coinItems = e.concat(this.coinItems)),
                (this.cellData = o.concat(this.cellData)),
                this.cellData.length != this.coinItems.length &&
                    console.error("addCoins....", this.curIdx, this.cellData.length, this.coinItems.length);
        }),
        (b.prototype.updateCell = function () {
            for (var e = this.coinItems.length, t = 0; t < e; ++t) this.coinItems[t].setTouch(!1);
            this.refreshItem();
        }),
        (b.prototype.loadLight1 = function () {
            return a(this, void 0, void 0, function () {
                var t, n;
                return s(this, function (e) {
                    switch (e.label) {
                        case 0:
                            return [4, l.ResUtil.loadPrefab("prefab/prefab/light1")];
                        case 1:
                            return (
                                (n = e.sent()),
                                ((t = cc.instantiate(n)).parent = this.node),
                                (n = 4.5 * this.coinYDistance),
                                t.setPosition(0, n),
                                (this.light = t.getComponent(cc.ParticleSystem)),
                                [2]
                            );
                    }
                });
            });
        }),
        (b.prototype.delayMerge = function (n) {
            var o = this;
            this.coinItems.splice(this.mergeCoinNum, this.coinItems.length - this.mergeCoinNum);
            for (var i, r = d.playerCoin.getCoinMaxCount(), a = this, e = 0; e < this.mergeCoinNum; ++e)
                !(function (e) {
                    i = (0.5 * r + e - a.mergeCoinNum) * a.coinYDistance;
                    var t = a.coinItems[e];
                    t.node.setPosition(0, i),
                        t.reseat(a.curIdx, !0, !1, a.firstNum + 1),
                        a.cellData.push(t.getData()),
                        t.show(a.mergeScaleTime2, a.mergeScaleTime3, 0, function () {
                            e === o.mergeCoinNum - 1 && (o.refreshItem(), n && n());
                        });
                })(e);
        }),
        (b.prototype.merge = function (o) {
            var i = this,
                r = 0;
            (this.cellData = []), (this.coinTouchCount = 0);
            for (var a, s = this, e = this.coinItems.length - 1; e >= this.mergeCoinNum; --e)
                !(function (e) {
                    var t = s.coinItems[e];
                    (a = r * s.mergeTime),
                        t.hide(a, function () {
                            p.operEvent.emit({action: p.default.recoveryCoin, data: {coin: t}});
                        });
                    for (var n = 0; n < e; n++) s.coinItems[n].moveBy(a, s.mergeTime, new cc.Vec2(0, s.coinYDistance));
                    r++;
                })(e);
            this.scheduleOnce(function () {
                for (var n, e = 0; e < i.mergeCoinNum; e++)
                    !(function (e) {
                        var t = i.coinItems[e];
                        (n = new cc.Vec2(t.node.x, t.node.y)),
                            t.scaleAndMoveTo(0, n, i.mergeScaleTime1, 0, function () {
                                e === i.mergeCoinNum - 1 &&
                                    i.loadLight(function () {
                                        var e = 5.5 * i.coinYDistance;
                                        i.light.node.setPosition(0, e), i.light.resetSystem(), i.delayMerge(o);
                                    });
                            });
                    })(e);
            }, r * this.mergeTime);
        }),
        (b.prototype.loadLight = function (n) {
            null !== this.light
                ? n()
                : a(this, void 0, void 0, function () {
                      var t;
                      return s(this, function (e) {
                          switch (e.label) {
                              case 0:
                                  return e.trys.push([0, 2, , 3]), [4, Promise.all([this.loadLight1()])];
                              case 1:
                                  return e.sent(), n(), [3, 3];
                              case 2:
                                  return (t = e.sent()), console.log("loading item error:", t), [3, 3];
                              case 3:
                                  return [2];
                          }
                      });
                  });
        }),
        (b.prototype.cleanCell = function () {
            this.hideQuestionMarks();
            for (var e = this.coinItems.length, t = 0; t < e; ++t) {
                var n = this.coinItems[t];
                (n.node.active = !1), p.operEvent.emit({action: p.default.recoveryCoin, data: {coin: n}});
            }
            (this.coinItems = []),
                (this.cellData = []),
                (this.isChoose = !1),
                (this.firstNum = null),
                (this.coinTouchCount = 0);
        }),
        (b.prototype.showQuestionMark = function (e) {
            var t = this.getOneQuestionMarks();
            t
                ? (t.removeFromParent(),
                  (t.parent = e.node),
                  (t.active = !0),
                  t.setPosition(0, this.questionMarkOffY),
                  this.questionMarkMap.set(e, t))
                : this.loadQuestionMark(e);
        }),
        (b.prototype.getOneQuestionMarks = function () {
            for (var e = 0; e < this.questionMarks.length; e++) {
                var t = this.questionMarks[e];
                if (!t.active) return t;
            }
            return null;
        }),
        (b.prototype.loadQuestionMark = function (i) {
            return a(this, void 0, void 0, function () {
                var t, n, o;
                return s(this, function (e) {
                    switch (e.label) {
                        case 0:
                            return [4, l.ResUtil.loadSpritFrame("Texture/common/Icon_QuestionMark")];
                        case 1:
                            return (
                                (t = e.sent()),
                                ((n = new cc.Node("mark")).parent = i.node),
                                n.setPosition(0, this.questionMarkOffY),
                                ((o = n.addComponent(cc.Sprite)).type = cc.Sprite.Type.SLICED),
                                (o.spriteFrame = t),
                                this.questionMarks.push(n),
                                this.questionMarkMap.set(i, n),
                                [2]
                            );
                    }
                });
            });
        }),
        (b.prototype.hideQuestionMarks = function () {
            for (var e = 0; e < this.questionMarks.length; e++) this.questionMarks[e].active = !1;
        }),
        r([t(cc.Node)], b.prototype, "coinParent", void 0),
        r([t(cc.Node)], b.prototype, "lock", void 0),
        r([t(cc.Node)], b.prototype, "mergeBg", void 0),
        r([t(cc.Node)], b.prototype, "adsLockBg", void 0),
        r([t(cc.Node)], b.prototype, "lockBg", void 0),
        r([t(cc.Node)], b.prototype, "unlockingBg", void 0),
        r([t(cc.Animation)], b.prototype, "lockAnim", void 0),
        r([t(cc.SpriteFrame)], b.prototype, "adsLockSpriteFrame", void 0),
        r([t({displayName: "金币Y方向的间隔"})], b.prototype, "coinYDistance", void 0),
        r([t({displayName: "合成金币时间间隔"})], b.prototype, "mergeTime", void 0),
        r([t({displayName: "合成金币缩小时间间隔"})], b.prototype, "mergeScaleTime1", void 0),
        r([t({displayName: "合成金币放大时间间隔"})], b.prototype, "mergeScaleTime2", void 0),
        r([t({displayName: "合成金币回弹时间间隔"})], b.prototype, "mergeScaleTime3", void 0),
        r([t({displayName: "问号在金币上坐标Y的偏移"})], b.prototype, "questionMarkOffY", void 0),
        r([e], b));
function b() {
    var e = (null !== c && c.apply(this, arguments)) || this;
    return (
        (e.coinParent = null),
        (e.lock = null),
        (e.mergeBg = null),
        (e.adsLockBg = null),
        (e.lockBg = null),
        (e.unlockingBg = null),
        (e.lockAnim = null),
        (e.adsLockSpriteFrame = null),
        (e.coinYDistance = 21),
        (e.mergeTime = 0.03),
        (e.mergeScaleTime1 = 0.03),
        (e.mergeScaleTime2 = 0.03),
        (e.mergeScaleTime3 = 0.03),
        (e.questionMarkOffY = 42),
        (e.isLock = !0),
        (e.curIdx = 0),
        (e.coinItems = []),
        (e.cellData = []),
        (e.isChoose = !1),
        (e.firstNum = null),
        (e.coinTouchCount = 0),
        (e.mergeCoinNum = f.default.GetLine(1).mergeNum),
        (e.isAdsLocking = !1),
        (e.adLockCount = f.default.GetLine(1).adsLockCount),
        (e.light = null),
        (e.isUnlocking = !1),
        (e.questionMarks = []),
        (e.questionMarkMap = new Map()),
        (e.isNoTouch = !1),
        e
    );
}
n.default = e;
